home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Cafe 3
/
Visual Cafe 3.ISO
/
Vcafe
/
Main.bin
/
JToolBarSeparator.java
< prev
next >
Wrap
Text File
|
1998-09-03
|
1KB
|
42 lines
package com.symantec.itools.swing;
import java.awt.Component;
import java.awt.Dimension;
// This component would be an extension to JToolBar$Separator if it were static
public class JToolBarSeparator
extends Component
{
/** Create the separator */
public JToolBarSeparator() {
}
/**
* Return the minimum size for the separator
*
* @return the Dimension object containing the separator's
* minimum size
*/
public Dimension getMinimumSize() {
return new Dimension(10,5);
}
/**
* Return the maximum size for the separator
*
* @return the Dimension object containing the separator's
* maximum size
*/
public Dimension getMaximumSize() {
return new Dimension(10,5);
}
/**
* Return the preferred size for the separator
*
* @return the Dimension object containing the separator's
* preferred size
*/
public Dimension getPreferredSize() {
return new Dimension(10,5);
}
}